*{
	margin: auto 0;
	padding: 0; }
  
body {
	font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
	text-align: left;
	background-image: URL(../img/36.png);
	background-repeat: no-repeat;}
  
html,body{
    height: 100%;
    margin: auto 0; }

/*下拉式選單*/

.wrap{
	max-width:100%;
	margin: 0 auto;
}
.clearfix:after{
	content: '';
	display: table;
	clear: both;
}
.header{
	border-bottom: 1px solid #ffffff;
	padding-bottom: 0em;
	position: relative;
}

.logo a{
	float:left;
	width: 250px;
	height: 50px;
	background:rgba(224, 222, 222, 0);
	display: block;
	text-decoration: none;	
	text-indent: 0;
	overflow: hidden;
	white-space: nowrap;
  	background-image: url("../img/34.png"); /* 设置背景图像 */
  	background-size: 100%; /* 設置背景圖像大小為原來的 50% */
  	background-repeat: no-repeat; /* 禁止图像重复 */
  	text-indent: -9999px; /* 让链接文字消失，但不影响屏幕阅读器 */
  	margin-left: 1%;
	}

.menu-list{
	float:right;
}
.menu-list li{
	float:left;
    display: block;
    padding: 0 1em;
    height: auto;
}
.menu-list a{
	display: block;
	text-decoration: none;
	font-weight: 700;
	color:#ffffff;
	padding:1em;
}
.menu-list a:hover{
	color: #013c3d;
    background-color: #c6c6c6;
}
.showmenu{
	display: none;
	float: right;
	text-decoration: none;
	color:#ffffff;
	font-weight: 600;
	padding:1em;
}
@media(max-width: 768px){
	.menu-list{		
		/*隱藏選單開始*/
		max-height: 0;
		overflow: hidden;
		/*隱藏選單end*/
		position: absolute;/*追隨.header*/
		/*讓選單從左到右延伸start*/
		right: 0;
		left: 0;
		/*讓選單從左到右延伸end*/
		top:67px;
		/*把menu-list位置移到.header下方。點擊menu滑出/因沒設header高度，所以用開發者工具看高多少*/
		z-index:100;
    transition: all 2.5s;
	}
	.menu-list li{
		float:none;
		border-bottom:  1px solid #ffffff ;
		background:rgb(3, 0, 0,0.8);
	}
	.showmenu{
		display: block;
	}
	/*jQ點擊後動態在 body 加上 class */ 
	.menu-show .menu-list{
		max-height: 336px; 
	}
}
.content{
	padding: 5% 6%;
}
.content p{
	line-height: 1.8;
	margin-bottom: 1.5em;
}

        /*下拉式選單RWD*/
    /*下拉式選單*/



/*內容*/

h4 {
	font-size: 20px;
	font-family: sans-serif;
	line-height: 25px;
	text-align: center;
	margin: 0;   }


  /*按鈕*/
  .btn,
  .btn1,
  .btn2,
  .btn3
  {
    position:relative;
    padding:0.5% 5%;
    background:rgba(238, 237, 222, 0.2);
    color:#fff;
    border:0;
    outline:none;
    cursor:pointer;
    font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
    font-size:0.3em;
    font-weight:500;
    border-radius:30px;
    top:10%;
    left:0%;
    box-shadow: 0 5px 5px rgba(240, 230, 97, 0.5);
    transition: ease-in-out 1s -.3s;    }  


   .btn3{
    top:50%;
   }

  .btn:hover,
  .btn1:hover,
  .btn2:hover,
  .btn3:hover {
      background-color:rgba(255, 255, 255,0.8);
      color:#000000;
      transition: ease-in-out 0.7s -.3s;
      box-shadow: 0 5px 5px rgba(154, 217, 241, 0.5);}
     
   /*按鈕*/
   
   /*Popup*/
   #popup {
	z-index: 10;
  }
  	.popup,
	.popup1,
	.popup2,
	.popup3{
	  width:30%;
	  background:rgba(255, 255, 255,0.85);
	  border-radius:6px;
	  position:absolute;
	  transform:translate(-50%,-50%) scale(0.1);
	  text-align:center;
	  padding:0 30px 30px;
	  color:#333;
	  visibility: hidden;
	  transition:transform 0.4s, top 0.4s;
	  font-size: 20px;
	  font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
	  z-index: 9999;     }
  
  
  .popup3
  {
	width:65%;
  }
  .popup3 img{
	position:relative;
	margin-top:5%;
  }
  
  .popup2{
	width:60%;
  }
  
	.open-popup{
	  visibility: visible;
	  top:50%;
	  left:50%;
	  transform:translate(-50%,-50%) scale(1);    }
  
	.popup h2,
	.popup1 h2,
	.popup2 h2,
	.popup3 h2{
	  font-size:28px;
	  font-weight:500;
	  margin:30px 0 10px;
	  text-align: center;    }
	   
	.popup button,
	.popup1 button,
	.popup2 button,
	.popup3 button{
	  width:100%;
	  margin-top:50px;
	  padding:10px 0;
	  background:#6fd649;
	  color:#fff;
	  border:0;
	  outline:none;
	  font-size:18px;
	  border-radius:4px;
	  cursor:pointer;
	  box-shadow: 0 5px 5px rgba(0,0,0,0.2);    }

    /*Popup*/

/*內容*/   
  
  p {
	font-size: 14px;
	font-family: 'Arial Narrow',Arial, Helvetica, sans-serif;
	line-height: 22px;
	color: #313139;
	text-align: left;
	padding-left: 5%;
	padding-right: 3%;
	margin: 0;
	padding-bottom: 15%   }
  
  
  #main {
	min-height: 100%;
	margin: 1% 0;
	padding: 0;
	display: flex;
	flex-flow: row;}

	.container1 {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;	  }
	  
		A img {
			margin-bottom: -10px;
		  }
		B img {
			margin-bottom: 10px;
		  }



  #main > A {
	margin: 10px;
	text-align: center;
	padding: 0px;
	border-radius: 5pt;
	background: rgba(185, 185, 185, 0.2);
	box-shadow: 1px 2px 5px #c6c6c6;
	flex: 3 1 33.3%;
	order: 1;}


  
  #main > B {
	margin: 10px;
	text-align: center;
	padding: 0px;
	border-radius: 5pt;
	background: rgba(185, 185, 185, 0.2);
	box-shadow: 1px 2px 5px #c6c6c6;
	flex: 3 1 33.3%;
	order: 2;}

	#main > C {
		margin: 10px;
		text-align: center;
		padding: 0px;
		border-radius: 5pt;
		background: rgba(185, 185, 185, 0.2);
		box-shadow: 1px 2px 5px #c6c6c6;
		flex: 3 1 33.3%;
		order: 2;}
	  
	  #main > D {
		margin: 10px;
		text-align: center;
		padding: 0px;
		border-radius: 5pt;
		background: rgba(224, 222, 222, 0.4);
		box-shadow: 1px 2px 5px #c6c6c6;
		flex: 3 1 33.3%;
		order: 3;}
  


  img {
	height: auto;
	width: 55%;
	padding-top: 10%;}

  .popup img{
    width: 50%;
  }

  .popup3 img{
    width: 50%;
  }

  /*內容 RWD*/
  @media all and (max-width: 1440px) {
    .popup, .popup1, .popup2, .popup3 {
      width: 50%;
      font-size: 16px;
    }
  }



  @media all and (max-width: 768px) {
  
	#main,
	#page {
		flex-direction: column;
	}
  
	#main > B,
	#main > A {
		/* Return them to document order */
		order: 0;
	}



		.popup
		{
		  top:50%;
		  width:80%;

		}

		.popup1
		{
		  top:50%;
		  width:80%;
		}

		.popup2
		{
		  top:70%;
		  width:80%;
		  left:52%
		}
		
	   .popup2 h2{
	       font-size:23px;}
	       
	       .popup2 img{
	           left:2%;
    	       width:100%;}
	
		.popup3
		{
		  top:70%;
		  width:80%;
		  left:52%
		}
		
		.popup3 img{
	           left:2%;
    	       width:100%;}
  

  }
  /*內容 RWD*/

/*內容*/

    